﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="coupanlist.aspx.cs" Inherits="weikebuluo.web.wechat.vip.coupanlist" %>

<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="../all/css/card.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/Scripts/Zepto.js"></script>
    <title>报名</title>
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <meta name="format-detection" content="telephone=no">
</head>
<body id="carduser" ondragstart="return false;" onselectstart="return false;">
    <section class="body">
    <div class="qiandaobanner">
        <img src="../all/images/VIPtop2.jpg">
    </div> 
    <%if (dtcoupon.Rows.Count > 0)
      {
          for (int i = 0; i < dtcoupon.Rows.Count;i++ )
          {%>
    <div class="cardexplain">
        <ul class="round">
            <li class="title mb"><span class="none">正在活动的优惠券</span></li>
            <li class="nob">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="kuang">
                    <tbody><tr>
                        <th>优惠券：<%=dtcoupon.Rows[i]["coupon_name"]%></th>
                    </tr>
                </tbody></table>
            </li>
            <li class="nob">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="kuang">
                    <tbody><tr>
                        <th>券面值：<%=dtcoupon.Rows[i]["coupon_price"]%>元</th>
                    </tr>
                </tbody></table>
            </li>
            <li class="nob">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="kuang">
                    <tbody><tr>
                        <th>活动日期：<%=dtcoupon.Rows[i]["coupon_stime"]%>-<%=dtcoupon.Rows[i]["coupon_etime"]%></th>
                           
                    </tr>
                </tbody></table>
            </li>
            <li class="nob">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="kuang">
                    <tbody><tr>
                        <th>活动说明：<%=dtcoupon.Rows[i]["coupon_view"] %> </th>
                           
                    </tr>
                </tbody></table>
            </li>

            
            <div class="footReturn">
            <a type="button" class="submit" href="coupanlist.aspx?id=<%=dtcoupon.Rows[i]["coupon_id"] %>&uid=<%=Request.QueryString["uid"] %>&wxid=<%=Request.QueryString["wxid"]%>"  class="txtbtn" id="showcard">提交</a>
            
        </div>
        </ul>
        
    </div><%}
      }%>


      <%if (dt1.Rows.Count > 0)
      {
          for (int i = 0; i < dt1.Rows.Count;i++ )
          {%>
    <div class="cardexplain">
        <ul class="round">
            <li class="title mb"><span class="none">我的优惠券</span></li>
            <li class="nob">
                <img src="http://qr.liantu.com/api.php?m=5&w=150&text=url<%=dtcoupon.Rows[i]["couponlog_id"] %>" />
            </li>
        </ul>
    </div><%}
      }%>
	    </section>



</body></html>